Potential buffer overrun and uninit variable fixed, bug 6855.
authorJan D <jan.h.d@swipnet.se>
Sun, 15 Aug 2010 08:13:02 +0000 (10:13 +0200)
committerJan D <jan.h.d@swipnet.se>
Sun, 15 Aug 2010 08:13:02 +0000 (10:13 +0200)
commitb168ff735ae67a0616e3044020442ae30ffa8d85
treedf4ebbfa11c0bc49e964fb5e8850191722e17c43
parenta6e656675376116d75df910427831e8e828377a6
Potential buffer overrun and uninit variable fixed, bug 6855.

* keyboard.c (parse_tool_bar_item): malloc buf.  Set TOOL_BAR_ITEM_LABEL
to empty string if not set to new_lbl (Bug#6855).
src/ChangeLog
src/keyboard.c